modify building scripts