FIXED: the linux script a little

Added installing instructions and cleaned up the code a little.