Fix relative path issues on deploy