add an endpoint as option to upload/deploy
remove unuse file