fix process.argv before launching scripts