move merchant script in separate dir