removed hr
better handling of bash