Fixed some bugs in the script. Added option to run the script as normal user (and not install packages)