Genericizing deploy script for portability