Fix colours disappearing when permissions are removed
Test regex variables before using them
Introduce access checking when including commands in help menu