add protection against running cork bins from cork path (was including constants.php twice)