Fixed bug in deploy script.