Some scripts useful for astronomy