Clean up library scripts