Added code to execute .bashrc.d files and handle creation of directory if it does not exist