improvements to skyplot script