moved and renamed script to execute complete example