Went through script and changed some stuff. Look at diff if interested in what.