Rebuild Application

Fixed how rebuilding application works.