add check for stratos directory