Made some small adjustments, should be working for now.