Fixed bug where drafts were being deployed.
Changed commit command so it prints output instead of sending it to /dev/null.
Minor changes