use .template file for vars, update readme