Script with unified float/int branches draft