Update removemanagedprefs.sh