deploy start function