hacked some support for going back in the installer and integration with makefile + robustness (check whether entered directories are valid) and only use sudo when needed