Rewrote Spec/App according to server-side script