Custom head' function now added