Everything seems to work rather well, lets see if it works in separate script as well