Improved deploy script, with support for specific build branches