Add import for id in hdrgen
Add new function
Update