added a sample script for lattice_python