new scripts and connections class