add make_safe function and directory for functions