Fix indexing issues with define
Limit responses from opt to prevent spamming