script works