made it so custom handlers work on new lines