generalized for comandline usage

removed the custom aspects