Incorrect argument order to generate_aliases

'b' is destination path!