changed the way deployment.py behaves - now this module can register signal handlers like any other