Saving path with externalized event handlers.