hd patch added
Merge pull request #41 from imrefazekas/master

added hd option