The ready option accepts a callback and makes it possible to inject last minute configurations. The callback is executed when Kirby's instance is ready to be fully used and you can use all roots, urls and other stuff from Kirby to set additional options accordingly.