added comments to routines and fixed problems with colors on clusters