Added switch_profile command line argument