moved validate into dist directory