Added menu close script