remove debugging; use file to store version number (can't run executable in cache as it will not work due to broken library paths)