More work on deploy script