fix script formatting