changes to get test scripts to work under Linux