added detection for standalone mode