main: automatically load scripts