Fix home page url
Fix functions
Fix bug in function for image.