fixing spacing, making restart notification delayed
replaced more static values with attributes
added newline to file