added foreign object script