fix start script and fix which files get copied to dist