Don't execute the script, source it instead. The execution would happen in a subshell and that is what prevents you to see the side-effects that should be caused by the script.
Invoke the script by saying:
source /path/to/script
or
. /path/to/script
(note the space between .
and path in the above line)