Fixed stupid bug causing submodules not to work