adjusted the course by subject query
added publish profile