Removed unused function/removed bad conf lines from .conf