Jobs wont run after linking fortran

I just linked fortran to Abaqus (to use subroutines) by adding the following lines to the abq2019.bat file.

SET PATH=%PATH%;C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2020.1.216\\windows\\bin\\intel64;
call "C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2020.1.216\\windows\\bin\\ifortvars" -arch intel64
call "C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2020.1.216\\windows\\mkl\\bin\\mklvars" intel64

I can run jobs from cmd but if I try to run anything from the job manager in abaqus I get an error "unable to start analysis job"

If I remove the lines from the abq2019.bat file it works again, but I can't run subroutines. Does anyone know how to fix this?