initial dynamic loading working for amelia and cosmos