New deploy script, updated dependencies, cleaned special cases, deploy script