Added conf file and fixed whole bug.