add command cat; support fat pattern; run first pragram