reads and adds custom command, if any. Also fixes bug in working filenames.

Signed-off-by: Jesse Alford <jalford@pivotallabs.com>