Started writing optimization script

- Modified locAL to be called externally