fixed postbuildtask script