Fixed publishing and dependencies