base script