-added counter script