Added scripts and successful unittests