Check error code of deploy script
Add log4net logging

Make the console version loop on each key press instead of quitting after the first