Adjusted deploy script to ensure process gets killed on deploy