Added script to merge base lib and individual scripts to make them work as standalone scripts.