added new scope in the script