Fixed an issue where the filename wouldn't compare correctly. False alarms on the script iteself have been handled.