Script to generate regression directory