Python scripts used for BAEA Project