Added java and direnv bash plugins and fixed a bug in installer