object creating script works