script modifications