script working good