Update and rename gen_scan_enabled to gen_scan_enabled.pl