Adding local conf file + removing useless code