Fix bug where --custom forced the use of THREADED = False