The ApplicationFactory sets the working directory to the directory the executable is located