added some code run or startup and some style changes