fixing a critical bug with token parsing. need to make path available for tokens.