fixed import script ignoring reported attribute, and added more debugging