Added variable logic to routes file