Replace hardcoded paths with variables