change script directive