modified main page and added option of arguments