Corrected application file retrieval for running the process as an
application.