Added p command for printing