Updates script for luna support