removing intermediate script