added a info function
change the name of main script