added option to provide path to assets