Rewrote some lost code, dynamic image on index