Throw error if commands is unfamiliar string

Closes #6.