Improved installer script to work with double click and output colored messages