added scripts and changed a little to test