Fixed some fails of mine in Scriptloader