modified options.json conversion stuff format
added linenum, fixed immediate end of execution
added logging