making the assetsDirs work