Add prepublish script to run the build