Delete temp subs on exit
Update subs logic