Added doubleDem flag to wrapper script