Replaced 'resources/' token with variable