added script selecting students from teachers