updated to 1.2.2 and tweaked dependencies