Deployment subsystem

You return an error type but then return nil everywhere and don't handle error in the loop.  One or the other.