Added if-command directive