added script to get and add objects