Add scene choice ordering.
Add relative id resolution to command line, corrected algorithm.