Added root check function to smf_import.