Improvements to ommand execution and location parsing & opening