change Social.framework to optional