upadate marginally some scripts