fix set permissions updater script