add deploy script
add logging feature