fix issue #174 (limit for script reloads)