added title property and modified the way command form gets invoked for render