script for local variables added