remove old images and replace header
contest
seperated functions and partials