adding changes to use package key in routes