Set environment variables and put correct .bashrc