Modify to be able to refer views directory