Should you use some kind of non-interactive mode here ?