Seems like the last line doesn't get executed unless you add a newline after it