updated deploy script to replace app