Changed '@headImage' to '@headerImage'
Took care of header image
Fixed dependency replacement so it allows a same image to be used both in the file and as header image