Updated deploy script for jenkins use.