file checking script added