reverted to ejs template system