Remove array handling and add sef urls