Changed exec_cmd to create_cmd_stack and marked as NOT USED YET