Change up temp command so that file extensions are now added