updated scripts to stage version 4