modified the script c++11