refactoring bin script to support configurable config file path