Creating library command ends up in empty library