add lib and files to script