Working command line tool for afscrap_thread