Added support for setting assets dir from config