add path variables detection support