add optimize scripts
up
start to simplify b-l analysis package