Added spool dir in var