added wrapper to call python potentials