Auto resource formatting