added extra log statement when about to check a script