Updating manhattan.php to work with the 'new' substitution-plan