fixed dacmaf script