added the updated script