def execute(helper, config, args):
env_config = parse_env_config(config, args.environment)<EOL>helper.rebuild_environment(args.environment)<EOL>if not args.dont_wait:<EOL><INDENT>helper.wait_for_environments(args.environment, health='<STR_LIT>', status='<STR_LIT>')<EOL><DEDENT>
Rebuilds an environment