fixed usage scripts and packaging scripts