Another bad behaving script fixed