updated version handing in deploy script