Added parse headers to CMD module