Check environment before launch