how to make your script shorter