Well, after 10 hours of troubleshooting I removed un necessary php exit; in my custom tab code which prevented the scripts from loading. This is why I had to add the scripts manually in version 8.4.1.
Now I no longer need to add scripts manually.
Every thing works great!
Thanks a lot!