update perm constant and remove dng support, client doesnt need it anymore