Resolved #7. Replace :variable in resource