Added ability to define custom.json configuration file