removed return from script, because it could be invoked as a root script