adding meta code for detecting commands dynamically