modify scope file