Add paths_in_code option and use template for backup