Added functionality for new path button

Added functionality for new path button