* now differentiates between directories and individual files by using different colors for each type
* cleaned up script contents