fixing start up script