updated refred macro to not try to change perms on things that rarely