making temp directory and cleaning task added