updated for deprecation of asset directory