externalize social scripts