Clean up the code and avoid hardcoded paths