fixed a million things to start testing script frontend