use macros instead of hardcoding paths