Fix for auto-reloading when using a non-default file name