wrap cmd in try catch
screenshot research