added url_safe for deploy_code