Added the facebook and twitter functionality