changes the output for front adn admin to be handled differently