preparation scripts updated