added cdf related scripts