tweaking the scripts