Fix Deploy script to remove temp path with no errors