defined rec_dir in main.py for clarity