Fix rotation of imported model, move filename.replace under if blocks, add TODO

The replace calls do not need to run all the time. They can cause errors
if the characters are not found