guade script functional