Adding bash header and fixing configuration loading path