inital script working