Updated prebuild script