Fixing generation of fix script