Working deploy script