Added ternary statement and tuples. Updated init script.