add encrypted appId and appSecret
add auto deploy script