well..i had the same problem as you at first..and i was using windows to create the script.. then i booted into ubuntu machine..copy pasted the same way..yet it worked!