Use configured frame IDs

Fixes #4