Adding sudo loop for x-setup script