Only cache qualities if list length is correct
Clean .pyc files before starting