Edit, Manged to fix it. When adding the export to $BASH_ENV I omitted the eval command. Seems to be working now