Added expand to the script