Close #85 - Use a callback to set permissions for flexibility