various script exec stuff