added clearscreen support