add check for run in CDE
add check for local storage expiration disabling