Added main script with parameters