clear library folder on app open