Fix running outside component directory