Rewrite load assets and animation