Updated cube jumping, some variables