edited ps function for bitnami