Added in/out, home/work constraints
Changed in/out home/work constraints to use arrays
Update comment