chmod +x post-build, re-configure $IMAGE to just be app/$APP, matching the new style of definition.