Add simply check if a Bootstrap-specific method is available

Add simply check if a Bootstrap-specific method is available. Also fix the permissions of files.