Variable processing for path and function variables

Completed variable processing.