Update packaging scripts to version 3.1.0