Modified runscripts and counter file