Script helper