add hook and app resources