Running the frontend code