read args, load code