script modified in Location