Changed conditionals for exports and added bashrc. Gonna need to update it for portability at some point