(master) added hd flags