Ming Jin: fix deployment scripts