added script to run functional tests