Added new var to store current path.