fixed socket permissions and added pgtop script