script now has a limited execution time before it is killed