Improve local deploy script