modify common script