Added variables to enable/disable tar recursion and content-length header