Hits server when submit zip is clicked. Cleans up code.
build dist script