Implemented script funcs