modified script to use forever