Use green for active instead of red.
Spaces instead of tabs.
Removed writeToFile.