Set correct Flags for Prima