Sync used id/model in scripts