fixes in skrypt