Made default behavior to exit if toppath not found