Fix #97 - renaming saveMedia to saveResource