fixed many issues with internal yeo-scripts