added cluster prep functionality in bin instead of test