pushing index into the public directory