Modified runStuff to accomodate PND color codes.