finish testing the scripts, works well