Finish script library implementation.