reverted writeInps.js