Use parameters instead of hardcoded paths