Change the order of correcting the path
Change the order of correcting the path

Firstly set the the default path then set the file name if directory is provided and then add .exe for windows.
tytoninae/phantoman,site5/phantoman,grantlucas/phantoman