can run from JSON file now
removed garbage from main