add constants for slug, url, dir