modifications to ContentService