added checkflytask and purged old system of storage