fix for deployment bug

* Quick fix for deployment bug
* Fix for cucumber exit code bug