Modified deploy.py - Still not ready for use