A python script for generating configurations in simple potential energy surface scans