script for new plots