adding config file and fix issue #1