seperated project script from widget