AMS Custom Flags-2