update build script to move artifact to dist folder