Updated post build event to use macros