move load_body_template to utilities