working relative paths
in courses query. TODO add to others