add finalize script
enable finalize