Fixed head and placeholder generation
Fixed dependencies