add multiple input functionality to scripts.coffee