plot1_script fix