Update the helper script to match the last gimx improvements.