scipts improved