Fixed problem where config block in a method was disabiling rest of the code in a file.