Prepend line to file using sed on a Mac, this is only valid if the script already have some data in it
sed -i '' -e $'1i\\\n Here is my new top line' file