Changed some plotting scripts