sorting out demos and dependencies