Use std::string in execute_script_contents