Use proper rail helpers for paths