Initial error handling and exe location