Fixing example and making dependencies print correctly