deploy script modified