changed static directory from assets to public