Moved paths and params into index