Expanded the workings of the deploy script ... its getting doper and doper