Remove unused veriable in the add_ functions and add commented out chown