Fix bug in script