added a sleep in gp script