change working folder before pak merge