<maxscript file="forestlib.ms" script='onMaterialLoad "$(LIBMATERIAL)"' execute_on="material_load"/>
Login with username, password and session length