fix packaging errors; take input arguments