Script registering cleanup.