Added a paint mode to the command executor