add a script to build installer