add initial init script
remove trailing spaces