some improvments and changes towards static files sync