Creating batch commands issue