Added transaction to the insert, now runs faster.
Removed unnesceesary css.