Replace hardcoded path in messages