load assets with path variable setting