merge the script with the changes on scene_publisher.py