add modernize script to library