Made it reindex the movies directory every time a client connects to the main page. Also removed the content-type misdirection.