'var appPath = process.argv[1];' is not suitable in all cloud server
do not use appPath