fixing script so must be run as root