added a bit
almost ready for jscripts and database
messing around