debugging script for dfm