Added trail mapping to creation and trail pages