added a 'psl' tool to acces functions from command line