If I change my config to autologin to the CLI using raspi-config I get an error at the end of the boot sequence:

~$ python3: can't open file 'home/pi/path_to_old_script/script.py

I have checked:

 1. /home/pi/.config/lxsession/LXDE-pi/autostart
 2. /etc/rc.local
 3. crontab -e

It does not seem to occur when I boot to the GUI/Desktop.

I am not sure where this is being called from.

Is there anywhere else I could have added it that I have forgotten that would cause it to run at startup?

Any advice would be appreciated.