Rebuild application