fix package script ambiguity
finish up build_cmd, add documentation