Script reconsidered and fixed.

"def" part has been removed as it was not necessary.