script updated for our spacegate
maxListener increased