Add hflags
Merge pull request #613 from errge/hflags

Add hflags