changed basePath to use assets_path