refactoring amr file path
refactoring pack.js