Cleaned up somethings and fixed the script privileges to be ran as user only.