Converting action string to bool flags.