refine script
add cp files into app package