added resample alignment script