Added access to change depth from command line and config.json