Added sublink grabbing function to get-constants