added script handling