fixing IT for command-line run