Changed permissions on templates