added upload contract preview