Variable replacement support

Adds parameter support and also config-file embedding for ios due to facebook plugin requirements.