Changed facebook image and refactored code