applied adaptation script