Updated setup script to switch to source directory before running git submodule setup