Refining deployment and removing debug output