adding scripts and graphs