almost done with the scripts integration