fix for different shells/environments