Fixing permissions on wrapper.