Adding scripts to process input