Added returning content option instead of outputting to screen