Updated for better inclusion in plotting scripts