Set PATH by adding export command to .bashrc and not just by executing export command.