replace static directory with submodule