import, adopt, and upgrade gnuplot