script fix and stripped lib