move old implementation to manualReflectionScript.sml; change reflectionScript.sml to generate the out functions instead of having them hard-coded