Fixed getConfig() issues and fixed paths