Moved blacklist file
Tidied up variable scoping