Made it so the short code can return it's result instead of outputting it