added assetsdir to params