dir changes and scripts for packaging