changing counterreset line with cmd execution to prevent duplicate executions when cmd needs more time...