scripts are adapted