seed file and other fixes