added wrappers and autoadag script