Moved post-build operations into scripts.