Removed 'then' from if statement

Caused compile error.
Added path variable for mbed