needed the "-c" for the sudo commands.