Define studieweb_path function