improved install_course_url api