more scripts for output handling, change input for confusion