Fixed @2x issue and optimized the index file