removed print if not in root dir, as it is handled in func ia_get_type
cleaned up duckpan as ia type