Added support for parsing rectangle commands and scroll cmds
from the command file.