Cleaned up and refactored code, drones now also restarted when deployment requires new node version