added social code and configuration