Added strict hostcommand parsing