functional script
fully functional for preproduction environment