Updated to Version 0.6 of permission check