added baseUrl option