Can now handle long paths with spaces