simplified shell script interface after talking to ian