It could be because of the script or because of the verification time. If it is because of the verification time, then you can reduce the verification time. To do this, open the params.dat file with a text editor and find the property target-block-time and lower the value. The verification process will take less time now.