Improve deploy script
Add new endpoint