fix url generator and allow content exclusion