Adding Custom head support

not finished yet .. wip