Bug in script after last commit