Fix: Make resource id variable