Fixed change task to work with newlines