rename
better error handling and reporting of commands that are not defined yet