scripts and some plots