Fix deploy command - forgotten wait() calls
Merge pull request #305 from Icenium/totev/fix-deploy-command

Fix deploy command - forgotten wait() calls