Better executing of script not using exec