Fixed recursive permission change and made the GUI to be an advanced option