I was taking syntax from here, is this page outdated?In your command, you should put operations like "-repage" and "-rotate" after the input filenames, not before.
http://www.imagemagick.org/Usage/layers/
Anyhow, thanks for the prompt replies as usual!