Last minute tidying

Ridding file of extra and weird references