make work from outside dir before publishing