Added option to use potential from input file.