Fixed small bug, and added im-config as a requirement for all IM