some simple python script to help us generate buck script