fix script form generator output