Breaking up deploy script components, and implementing production install.