Fixed folder structure assumptions in deploy script.