switch deploy flag