added some little scripts
added core script and bugfixes