Amends permissions
Fixes syntax