add pre build script