added script for menu