setting legacy SCRIPT_FILENAME and SCRIPT_NAME to MaglLegacyApplication
adding hints about legacy application adjustments to README