Linecounts script now only run if exists