Updated update_launch_config() since flav variable was being set to None.