changed public directory to assets