Improve deploy script.