Updated helper script