remove object script working