GM: set end params on the same line as last function