initial commit - script exits on empty input