Add convenience functions to base lua files
Add elevated command test