* Exchanged txt config files for json config file\n* Now handling opt 2 (basic)\n* call to kill pd added at the end (ugly)