Update of deploy script to fix minor dict error