changed to use config file.

change name config.example.json to config.json, and edit to suit.