Added optional reload function