corrected call to scripts