General base scripts.