Overhauled bash directory to be more portable