Changed the input script layout