Removed the copy paste and replace it by a calling to the FindSubProject function