Implementation of plotting scripts