Update pack.sh and remove useless resource files