add both analyze_lib and script
save as  a variable name
add pythone function to the bash
add for loop to excute all files