add sample:replicate table
adjust file/dir pathnames