updated postcompile with new syntax