preparing contrib scripts