Abstract sharing script