Convert the flat script to a library.
Convert the flat script to a library.