Fixed bug in stats graph and added supervisor and nginx conf