change path of switch_exec