* use correct argument type for sscanf string
* Rearrange initialization so that specifying a custom config file works