update
added `main` script for free energy calc