minor changes for running on pi