add methods for generating default url and config