call function to import whitelist instead of os.system()