Fix DeployCommand to work with EventManager
Merge pull request #161 from AydinHassan/hotfix/deploy-command

Fix DeployCommand to work with EventManager