fixed bash-stuff, hopefully