forced to live with bash rather than sh as ubuntu uses dash