Changed script working