Made main function return html path