fixed setsn
moved dumpclient to loadenv.sh
moved dumpclient to loadenv.sh