#18 refactored deploy tasks a bunch
#18 added further checks
#18 added staging check