Update SM path patch to be more generic