check for script existance; other stuff