adds ps as dependency and minor fixes