Changed all indexes to go from zero, fixed smart player bug