updating script so no need to run it as root