Object follow a square path?
It could be that you have to set the curve handles to to the Vector Type using the v key to bring up the menu.  You can change the handle type individually or all at once depending on what is selected.



I am just guessing here since you did not upload a .blend file to PasteAll.org with the link pasted here.