do you assign and export the vaiables within your shell script? In this case they don't appear in your environment, when the script is finished. The script runs in his own subshell and an export never changes the environment of the parent process.
A way to make the variables known in your shell is to source
If you source a script, it is executed in the current shell. But attention: Don't finish the script with an exit
, this will also finish your current shell.