Update create_lib_app.sh

Improved methods