parse key moved where it belongs; build script improved