before build change directory