fixed bug, +missing files, +folder for older scripts

This version requires the ref_acq binary file in the main folder to work
properly