extract a Config, add script attribute to Project